package com.ilancuo.proxy.test;

public class UserStaticProxy implements User {

    private User user;

    public UserStaticProxy(User user) {
        this.user = user;
    }

    @Override
    public void login() {
        System.out.println("账号密码登录");
        user.login();
        System.out.println("欢迎登录");
    }
}
